Managing Mediator Entities, Relationships, Attributes, and Edges
You can manage mediator entities, relationships, attributes, and edges by performing these actions:
When you add an attribute to a mediator entity in the logical model and convert it, the attribute is automatically added as a relationship property on the corresponding physical edge.
When you rename an attribute in the logical model, the updated name automatically syncs to the corresponding relationship property in the physical model.
When you delete an attribute from the mediator entity in the logical model, the corresponding relationship property is automatically removed from the physical model.
When you change the data type of an attribute in the logical model, the corresponding relationship property in the physical model is updated based on database-specific data type mapping rules.
When you delete a mediator entity in the logical model, its corresponding structure in the physical model is removed, the indirect relationship is deleted, and migrated attributes are cleaned up without creating a direct edge.
When you rename a mediator entity in the logical model, the updated name is reflected in the corresponding relationship details in the physical model.
When you delete a relationship in the logical model, the mediator path is removed, and the corresponding edge and foreign key in the physical model are deleted, disconnecting the affected entities.
When you add a property to a physical edge, a corresponding attribute with the same data type is automatically created in the related logical mediator entity.
When you delete relationships that reference a mediator entity, only the selected relationship is removed each time. The mediator entity remains until no relationships reference it, at which point it is automatically removed from both models.
When you create edges in the physical model, foreign key migration is handled automatically based on the relationship type, introducing mediator entities when needed to keep both models aligned.
Was this helpful?